<?php include("header.php"); ?>
	        
	<div id="body">
            <table class="profile">
                <tr><td>Nimi</td><td><?php echo $profile['user_name'] ?></td></tr>
                <tr><td>Ikä</td><td>nn</td></tr>
                <tr><td>Titteli</td><td>nönönön</td></tr>
                
            </table>
            <p>Käyttäjän videot
            <?php 
                echo '<ul>';
                foreach ($media as $row)
                {
                    echo '<li><a href="'.site_url("media/view/".$row->media_id).'">'. $row->title .'</a></li>';                    
                }
                echo '
                </ul>';
                ?>
            </p>
              
	</div>
<?php include("footer.php"); ?>  